﻿using System;
using System.Windows;
using System.Windows.Media;



namespace DailyFx.UI
{
	using UI;

	/// <summary>
	///		This is a <see cref="IService"/> provides image and text resource .
	/// </summary>
	public interface IUIResourceManager 
	{
		/// <summary>
		///		Sets the theme of specified name of theme & accent. ( specialised for MahApps.Metro )
		/// </summary>
		void SetTheme ( string theme, string accent );

		/// <summary>
		///		Gets the theme's resource dictionary. ( specialised for MahApps.Metro )
		/// </summary>
		ResourceDictionary GetTheme ( string theme = null );

		/// <summary>
		///		Sets the locale language for display text .
		/// </summary>
		void SetLanguage ( string language );

		/// <summary>
		///		Gets the text from current locale language by specified key .
		/// </summary>
		String GetString ( string key );

		/// <summary>
		///		Gets the image source from locale package .
		/// </summary>
		ImageSource GetImage ( string name );

	}
}
